package com.easygoods.entity;

import com.easygoods.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
public class OrderGoods extends BaseEntity {
    public static final String ORDER_ID = "orderId";
    public static final String SKU_ID = "skuId";
    public static final String SKU_NO = "skuNo";
    public static final String SKU_NAME = "skuName";
    public static final String SPU_ID = "spuId";
    public static final String LOCK_ID = "lockId";
    public static final String ORIGIN_PRICE = "originPrice";
    public static final String MIN_PRICE = "minPrice";
    public static final String MEMBER_PRICE = "memberPrice";
    public static final String NUM = "num";

    private String orderId;
    private String skuId;
    private String skuNo;
    private String skuName;
    private String spuId;
    private String lockId;
    private BigDecimal originPrice;
    private BigDecimal minPrice;
    private BigDecimal memberPrice;
    private Integer num;
}
